package com.qys.fileservice;

import java.sql.SQLException;

import com.qys.filedao.fileDao;

public class fileService {
	private fileDao dao = new fileDao();
	public void upFile(String filename) throws SQLException{
		this.dao.insert(filename);
	}
	public int proving(String filename) throws SQLException{
		return dao.proving(filename);
	}
	public void downFile(String filename,double filesize) throws SQLException{
		this.dao.insertDown(filename, filesize);
	}
}
